﻿using System;

namespace DigitalQuran.Statistic
{
    /// <summary>
    /// Statistic of Single Word
    /// </summary>
    public class WordStatistic
    {
        /// <summary>
        /// Create new instance of word statistic
        /// </summary>
        public WordStatistic()
        {
            Frequency = 1;
        }

        /// <summary>
        /// Gets Order of Statistic
        /// </summary>
        public int Order { get; internal set; }

        /// <summary>
        /// Gets <see cref="DigitalQuran.Word"/> whose statistic this instance hold
        /// </summary>
        public Word Word { get; internal set; }

        /// <summary>
        /// Gets Frequency of letter
        /// </summary>      
        public int Frequency { get; internal set; }
    }
}